#ifndef _CRT_SECURE_NO_WARNINGS
	#define _CRT_SECURE_NO_WARNINGS // Deal with warnings in glui.h
#endif

#include <GL\glui.h>
#include "Debug.h"
#include "walls.h"
#include <iostream>

void incFloorIllumination(GLfloat *lightComponent, GLfloat r, GLfloat g, GLfloat b, bool debug, std::string outputString)
{
	lightComponent[0] += r;
	lightComponent[1] += g;
	lightComponent[2] += b;

	if( debug ) {
		std::cout << outputString << ": rgba(" << lightComponent[0] << ", " << 
										 lightComponent[1] << ", " << 
										 lightComponent[2] << ", " <<
										 lightComponent[3] << ");" << 
										 std::endl;
	}
}